home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
526-550
/
disk_539
/
rpn
/
source
/
menu.h
< prev
next >
Wrap
Text File
|
1992-05-06
|
11KB
|
455 lines
/*----------------------------------------*
| File: MENU.h - MLO 900131 V1.00 |
| This file contains all menu parameters |
*----------------------------------------*/
static struct IntuiText TextFisher = { /* IntuiText's */
BLUE_PEN, WHITE_PEN, JAM1, 4, 1, NULL,
(UBYTE *) "Fisher", NULL
};
static struct IntuiText TextLastX = {
BLUE_PEN, WHITE_PEN, JAM1, 4, 1, NULL,
(UBYTE *) "Last X", NULL
};
static struct IntuiText Text0 = {
BLUE_PEN, WHITE_PEN, JAM1, 8, 1, NULL,
(UBYTE *) "0", NULL
};
static struct IntuiText Text1 = {
BLUE_PEN, WHITE_PEN, JAM1, 8, 1, NULL,
(UBYTE *) "1", NULL
};
static struct IntuiText Text2 = {
BLUE_PEN, WHITE_PEN, JAM1, 8, 1, NULL,
(UBYTE *) "2", NULL
};
static struct IntuiText Text3 = {
BLUE_PEN, WHITE_PEN, JAM1, 8, 1, NULL,
(UBYTE *) "3", NULL
};
static struct IntuiText Text4 = {
BLUE_PEN, WHITE_PEN, JAM1, 8, 1, NULL,
(UBYTE *) "4", NULL
};
static struct IntuiText Text5 = {
BLUE_PEN, WHITE_PEN, JAM1, 8, 1, NULL,
(UBYTE *) "5", NULL
};
static struct IntuiText Text6 = {
BLUE_PEN, WHITE_PEN, JAM1, 8, 1, NULL,
(UBYTE *) "6", NULL
};
static struct IntuiText Text7 = {
BLUE_PEN, WHITE_PEN, JAM1, 8, 1, NULL,
(UBYTE *) "7", NULL
};
static struct IntuiText Text8 = {
BLUE_PEN, WHITE_PEN, JAM1, 8, 1, NULL,
(UBYTE *) "8", NULL
};
static struct IntuiText Text9 = {
BLUE_PEN, WHITE_PEN, JAM1, 8, 1, NULL,
(UBYTE *) "9", NULL
};
static struct IntuiText TextA = {
BLUE_PEN, WHITE_PEN, JAM1, 8, 1, NULL,
(UBYTE *) "A", NULL
};
static struct IntuiText TextB = {
BLUE_PEN, WHITE_PEN, JAM1, 8, 1, NULL,
(UBYTE *) "B", NULL
};
static struct IntuiText TextC = {
BLUE_PEN, WHITE_PEN, JAM1, 8, 1, NULL,
(UBYTE *) "C", NULL
};
static struct IntuiText TextD = {
BLUE_PEN, WHITE_PEN, JAM1, 8, 1, NULL,
(UBYTE *) "D", NULL
};
static struct IntuiText TextE = {
BLUE_PEN, WHITE_PEN, JAM1, 8, 1, NULL,
(UBYTE *) "E", NULL
};
static struct IntuiText TextF = {
BLUE_PEN, WHITE_PEN, JAM1, 8, 1, NULL,
(UBYTE *) "F", NULL
};
static struct IntuiText RegText = {
BLUE_PEN, WHITE_PEN, JAM1, 4, 1, NULL,
(UBYTE *) "Reg.", NULL
};
static struct IntuiText PluText = {
BLUE_PEN, WHITE_PEN, JAM1, 4, 1, NULL,
(UBYTE *) "+", NULL
};
static struct IntuiText MinText = {
BLUE_PEN, WHITE_PEN, JAM1, 4, 1, NULL,
(UBYTE *) "-", NULL
};
static struct IntuiText MulText = {
BLUE_PEN, WHITE_PEN, JAM1, 4, 1, NULL,
(UBYTE *) "*", NULL
};
static struct IntuiText DivText = {
BLUE_PEN, WHITE_PEN, JAM1, 4, 1, NULL,
(UBYTE *) "/", NULL
};
static struct IntuiText ToCartText = {
BLUE_PEN, WHITE_PEN, JAM1, 4, 1, NULL,
(UBYTE *) "To Cart.", NULL
};
static struct IntuiText ToPolarText = {
BLUE_PEN, WHITE_PEN, JAM1, 4, 1, NULL,
(UBYTE *) "To Polar", NULL
};
static struct IntuiText ToDegText = {
BLUE_PEN, WHITE_PEN, JAM1, 4, 1, NULL,
(UBYTE *) "To Deg", NULL
};
static struct IntuiText ToRadText = {
BLUE_PEN, WHITE_PEN, JAM1, 4, 1, NULL,
(UBYTE *) "To Rad", NULL
};
static struct IntuiText ToHMSText = {
BLUE_PEN, WHITE_PEN, JAM1, 4, 1, NULL,
(UBYTE *) "To H.MS", NULL
};
static struct IntuiText ToHText = {
BLUE_PEN, WHITE_PEN, JAM1, 4, 1, NULL,
(UBYTE *) "To H...", NULL
};
static struct IntuiText GrdText = {
BLUE_PEN, WHITE_PEN, JAM1, 4, 1, NULL,
(UBYTE *) " Grd", NULL
};
static struct IntuiText RadText = {
BLUE_PEN, WHITE_PEN, JAM1, 4, 1, NULL,
(UBYTE *) " Rad", NULL
};
static struct IntuiText DegText = {
BLUE_PEN, WHITE_PEN, JAM1, 4, 1, NULL,
(UBYTE *) " Deg", NULL
};
static struct IntuiText AllText = {
BLUE_PEN, WHITE_PEN, JAM1, 4, 1, NULL,
(UBYTE *) "All", NULL
};
static struct IntuiText AccumulsText = {
BLUE_PEN, WHITE_PEN, JAM1, 4, 1, NULL,
(UBYTE *) "Accumul.", NULL
};
static struct IntuiText RegistersText = {
BLUE_PEN, WHITE_PEN, JAM1, 4, 1, NULL,
(UBYTE *) "Registers", NULL
};
static struct IntuiText StackText = {
BLUE_PEN, WHITE_PEN, JAM1, 4, 1, NULL,
(UBYTE *) "Stack", NULL
};
static struct IntuiText XText = {
BLUE_PEN, WHITE_PEN, JAM1, 4, 1, NULL,
(UBYTE *) "X", NULL
};
static struct IntuiText AboutText = {
BLUE_PEN, WHITE_PEN, JAM1, 4, 1, NULL,
(UBYTE *) "About RPN", NULL
};
static struct IntuiText QuitText = {
BLUE_PEN, WHITE_PEN, JAM1, 4, 1, NULL,
(UBYTE *) "Quit", NULL
};
static struct MenuItem FisherItem = { /* MenuItem's and Menu's */
NULL, 0, 10, 72, 10, ITEM_FLAGS,
0, (APTR) &TextFisher, NULL, 0, NULL, 0
};
static struct MenuItem LastXItem = {
&FisherItem, 0, 0, 72, 10, ITEM_FLAGS,
0, (APTR) &TextLastX, NULL, 0, NULL, 0
};
static struct Menu SpecialMenu = {
NULL, 400, 0, 80, 0, MENU_FLAGS,
(UBYTE *) " Special ", &LastXItem
};
static struct MenuItem SubItemF = {
NULL, 40, 150, 24, 10, ITEM_FLAGS,
0, (APTR) &TextF, NULL, 0, NULL, 0
};
static struct MenuItem SubItemE = {
&SubItemF, 40, 140, 24, 10, ITEM_FLAGS,
0, (APTR) &TextE, NULL, 0, NULL, 0
};
static struct MenuItem SubItemD = {
&SubItemE, 40, 130, 24, 10, ITEM_FLAGS,
0, (APTR) &TextD, NULL, 0, NULL, 0
};
static struct MenuItem SubItemC = {
&SubItemD, 40, 120, 24, 10, ITEM_FLAGS,
0, (APTR) &TextC, NULL, 0, NULL, 0
};
static struct MenuItem SubItemB = {
&SubItemC, 40, 110, 24, 10, ITEM_FLAGS,
0, (APTR) &TextB, NULL, 0, NULL, 0
};
static struct MenuItem SubItemA = {
&SubItemB, 40, 100, 24, 10, ITEM_FLAGS,
0, (APTR) &TextA, NULL, 0, NULL, 0
};
static struct MenuItem SubItem9 = {
&SubItemA, 40, 90, 24, 10, ITEM_FLAGS,
0, (APTR) &Text9, NULL, 0, NULL, 0
};
static struct MenuItem SubItem8 = {
&SubItem9, 40, 80, 24, 10, ITEM_FLAGS,
0, (APTR) &Text8, NULL, 0, NULL, 0
};
static struct MenuItem SubItem7 = {
&SubItem8, 40, 70, 24, 10, ITEM_FLAGS,
0, (APTR) &Text7, NULL, 0, NULL, 0
};
static struct MenuItem SubItem6 = {
&SubItem7, 40, 60, 24, 10, ITEM_FLAGS,
0, (APTR) &Text6, NULL, 0, NULL, 0
};
static struct MenuItem SubItem5 = {
&SubItem6, 40, 50, 24, 10, ITEM_FLAGS,
0, (APTR) &Text5, NULL, 0, NULL, 0
};
static struct MenuItem SubItem4 = {
&SubItem5, 40, 40, 24, 10, ITEM_FLAGS,
0, (APTR) &Text4, NULL, 0, NULL, 0
};
static struct MenuItem SubItem3 = {
&SubItem4, 40, 30, 24, 10, ITEM_FLAGS,
0, (APTR) &Text3, NULL, 0, NULL, 0
};
static struct MenuItem SubItem2 = {
&SubItem3, 40, 20, 24, 10, ITEM_FLAGS,
0, (APTR) &Text2, NULL, 0, NULL, 0
};
static struct MenuItem SubItem1 = {
&SubItem2, 40, 10, 24, 10, ITEM_FLAGS,
0, (APTR) &Text1, NULL, 0, NULL, 0
};
static struct MenuItem SubItem0 = {
&SubItem1, 40, 0, 24, 10, ITEM_FLAGS,
0, (APTR) &Text0, NULL, 0, NULL, 0
};
static struct MenuItem RecDivItem = {
NULL, 0, 40, 64, 10, ITEM_FLAGS,
0, (APTR) &DivText, NULL, 0, &SubItem0, 0
};
static struct MenuItem RecMulItem = {
&RecDivItem, 0, 30, 64, 10, ITEM_FLAGS,
0, (APTR) &MulText, NULL, 0, &SubItem0, 0
};
static struct MenuItem RecMinItem = {
&RecMulItem, 0, 20, 64, 10, ITEM_FLAGS,
0, (APTR) &MinText, NULL, 0, &SubItem0, 0
};
static struct MenuItem RecPluItem = {
&RecMinItem, 0, 10, 64, 10, ITEM_FLAGS,
0, (APTR) &PluText, NULL, 0, &SubItem0, 0
};
static struct MenuItem RecRegItem = {
&RecPluItem, 0, 0, 64, 10, ITEM_FLAGS,
0, (APTR) &RegText, NULL, 0, &SubItem0, 0
};
static struct Menu RecallMenu = {
&SpecialMenu, 336, 0, 64, 0, MENU_FLAGS,
(UBYTE *) " Recall", &RecRegItem
};
static struct MenuItem StoDivItem = {
NULL, 0, 40, 56, 10, ITEM_FLAGS,
0, (APTR) &DivText, NULL, 0, &SubItem0, 0
};
static struct MenuItem StoMulItem = {
&StoDivItem, 0, 30, 56, 10, ITEM_FLAGS,
0, (APTR) &MulText, NULL, 0, &SubItem0, 0
};
static struct MenuItem StoMinItem = {
&StoMulItem, 0, 20, 56, 10, ITEM_FLAGS,
0, (APTR) &MinText, NULL, 0, &SubItem0, 0
};
static struct MenuItem StoPluItem = {
&StoMinItem, 0, 10, 56, 10, ITEM_FLAGS,
0, (APTR) &PluText, NULL, 0, &SubItem0, 0
};
static struct MenuItem StoRegItem = {
&StoPluItem, 0, 0, 56, 10, ITEM_FLAGS,
0, (APTR) &RegText, NULL, 0, &SubItem0, 0
};
static struct Menu StoreMenu = {
&RecallMenu, 272, 0, 56, 0, MENU_FLAGS,
(UBYTE *) " Store", &StoRegItem
};
static struct MenuItem ConCarItem = {
NULL, 0, 50, 72, 10, ITEM_FLAGS,
0, (APTR) &ToCartText, NULL, 0, NULL, 0
};
static struct MenuItem ConPolItem = {
&ConCarItem, 0, 40, 72, 10, ITEM_FLAGS,
0, (APTR) &ToPolarText, NULL, 0, NULL, 0
};
static struct MenuItem ConDegItem = {
&ConPolItem, 0, 30, 72, 10, ITEM_FLAGS,
0, (APTR) &ToDegText, NULL, 0, NULL, 0
};
static struct MenuItem ConRadItem = {
&ConDegItem, 0, 20, 72, 10, ITEM_FLAGS,
0, (APTR) &ToRadText, NULL, 0, NULL, 0
};
static struct MenuItem ConHMSItem = {
&ConRadItem, 0, 10, 72, 10, ITEM_FLAGS,
0, (APTR) &ToHMSText, NULL, 0, NULL, 0
};
static struct MenuItem ConHItem = {
&ConHMSItem, 0, 0, 72, 10, ITEM_FLAGS,
0, (APTR) &ToHText, NULL, 0, NULL, 0
};
static struct Menu ConvertMenu = {
&StoreMenu, 192, 0, 72, 0, MENU_FLAGS,
(UBYTE *) " Convert", &ConHItem
};
static struct MenuItem SetGrdItem = {
NULL, 0, 20, 48, 10, ITEM_FLAGS | CHECKIT,
3, (APTR) &GrdText, NULL, 0, NULL, 0
};
static struct MenuItem SetRadItem = {
&SetGrdItem, 0, 10, 48, 10, ITEM_FLAGS | CHECKIT,
5, (APTR) &RadText, NULL, 0, NULL, 0
};
static struct MenuItem SetDegItem = {
&SetRadItem, 0, 0, 48, 10, ITEM_FLAGS | CHECKED | CHECKIT,
6, (APTR) &DegText, NULL, 0, NULL, 0
};
static struct Menu SetMenu = {
&ConvertMenu, 144, 0, 48, 0, MENU_FLAGS,
(UBYTE *) " Set ", &SetDegItem
};
static struct MenuItem CleAllItem = {
NULL, 0, 40, 86, 10, ITEM_FLAGS,
0, (APTR) &AllText, NULL, 0, NULL, 0
};
static struct MenuItem CleAccItem = {
&CleAllItem, 0, 30, 86, 10, ITEM_FLAGS,
0, (APTR) &AccumulsText, NULL, 0, NULL, 0
};
static struct MenuItem CleRegItem = {
&CleAccItem, 0, 20, 86, 10, ITEM_FLAGS,
0, (APTR) &RegistersText, NULL, 0, NULL, 0
};
static struct MenuItem CleStaItem = {
&CleRegItem, 0, 10, 86, 10, ITEM_FLAGS,
0, (APTR) &StackText, NULL, 0, NULL, 0
};
static struct MenuItem CleXItem = {
&CleStaItem, 0, 0, 86, 10, ITEM_FLAGS,
0, (APTR) &XText, NULL, 0, NULL, 0
};
static struct Menu ClearMenu = {
&SetMenu, 80, 0, 64, 0, MENU_FLAGS,
(UBYTE *) " Clear ", &CleXItem
};
static struct MenuItem GenAboutItem = {
NULL, 0, 10, 80, 10, ITEM_FLAGS,
0, (APTR) &AboutText, NULL, 0, NULL, 0
};
static struct MenuItem GenQuitItem = {
&GenAboutItem, 0, 0, 80, 10, ITEM_FLAGS,
0, (APTR) &QuitText, NULL, 0, NULL, 0
};
static struct Menu GeneralMenu = {
&ClearMenu, 0, 0, 80, 0, MENU_FLAGS,
(UBYTE *) " General ", &GenQuitItem
};